<form action="{:sysuri()}" data-table-id="FormTable" class="layui-form layui-card" data-auto="true" method="post">
    <div class="layui-card-body padding-left-40">
        <div class="layui-form-item relative block">
            <span class="help-label"><b>商品类型名称</b>Goods Type Name</span>
            <label class="relative block">
                <input name='type_name' required placeholder="请输入商品类型名称" value='{$vo.type_name|default=""}' class="layui-input">
            </label>
            <span class="help-block"><b>必填，</b>请填写商品类型名称。</span>
        </div>
        <div class="layui-form-item relative block">
            <span class="help-label"><b>商品类型描述</b>Goods Type Desc</span>
            <label class="relative block">
                <textarea class="layui-textarea" name="type_desc" placeholder="请输入商品类型描述">{$vo.type_desc|default=''}</textarea>
            </label>
        </div>
    </div>
    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input name='id' type='hidden' value='{$vo.id}'>{/notempty}
    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit' lay-submit>保存数据</button>
        <button class="layui-btn layui-btn-danger" data-close type='button' data-confirm="确定要取消编辑吗？">取消编辑</button>
    </div>
</form>